home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 8 / QRZ Ham Radio Callsign Database - Volume 8.iso / pc / files / t_unix / j109lxa4.tar / autoexec.kf8nh < prev    next >
Text File  |  1994-06-04  |  5KB  |  193 lines

  1. #
  2. # Sample JNOS/Linux configuration file (my own)
  3. # If you use this, please remember to change callsigns, hostnames, and IP
  4. # addresses.
  5. #
  6.  
  7. # Basic host configuration
  8. ax25 mycall kf8nh
  9. ip address 44.70.4.88
  10. hostname kf8nh.ampr.org
  11.  
  12. # DNS configuration
  13. domain suffix ampr.org.
  14. # domain addserver linux.kf8nh.ampr.org
  15. domain translate on
  16.  
  17. # Attach the primary IP port
  18. attach asy ttyS2 0 ax25 144.99 1024 236 9600 f 255
  19. param 144.99 RTS 1
  20. asyconfig 144.99 rxqueue 5
  21. asyconfig 144.99 txqueue 3
  22. ifconfig 144.99 broadcast 44.70.4.255
  23. ifconfig 144.99 linkaddr kf8nh-4
  24. ifconfig 144.99 paclen 256
  25. ax25 digipeat 144.99 on
  26. ax25 hport 144.99 on
  27. ip hport 144.99 on
  28. ax25 bcport 144.99 on
  29. trace 144.99 311
  30. mbox mport 144.99 on
  31. mbox hideport 144.99 off
  32. ifconfig 144.99 description "TCP/IP port on 144.99 MHz"
  33. #convers interface 144.99 on
  34.  
  35. # Attach the secondary port - no longer available (I needed the antenna)
  36. #attach asy ttyS1 0 ax25 145.05 1536 236 9600
  37. #ifconfig 145.05 linkaddr kf8nh-6
  38. #ax25 digipeat 145.05 on
  39. #ax25 hport 145.05 on
  40. #ip hport 145.05 on
  41. #ax25 bcport 145.05 on
  42. #trace 145.05 311
  43. #mbox mport 145.05 on
  44. #mbox hideport 145.05 off
  45. #ifconfig 145.05 description "User port on 145.05 MHz"
  46. #convers interface 145.05 on
  47.  
  48. # Attach the SLIP link to the Linux networking subsystem
  49. # I don't do any logging on this interface at present, since my Linux box
  50. # is currently standalone... the only address that would ever show up is
  51. # 44.70.248.67.
  52. attach asy ttypf - slip linux 1024 1024 38400
  53. asyconfig linux rxqueue 2
  54. asyconfig linux txqueue 2
  55. ip hport linux off
  56. #trace linux 311
  57. mbox hideport linux on
  58. ifconfig linux description "SLIP link to Linux host"
  59.  
  60. # AX.25 configuration
  61. ax25 alias LINUX
  62. ax25 ttycall KF8NH
  63. ax25 timertype linear
  64. ax25 maxframe 2
  65. ax25 paclen 256
  66. ax25 version 2
  67. ax25 irtt 60000
  68. ax25 t3 300000
  69. ax25 t4 900
  70.  
  71. # Configure NET/ROM emulation - with the user port down this is meaningless
  72. #attach netrom
  73. #netrom alias 460458
  74. #netrom call KF8NH-2
  75. #netrom timertype linear
  76. #netrom interface 144.99 192
  77. #netrom interface 145.05 192
  78. #netrom load
  79.  
  80. # NET/ROM node filters
  81. #netrom nodefilter mode accept
  82. #source nodefilter.nos
  83.  
  84. # IP configuration
  85. ip ttl 16
  86.  
  87. # TCP configuration
  88. tcp irtt 60000
  89. tcp mss 216
  90. tcp window 432
  91. tcp timertype linear
  92.  
  93. # SMTP configuration
  94. smtp mode route
  95. smtp timer 900
  96. smtp usemx on
  97. smtp gateway NOSBBS.Painesville.ampr.org
  98. smtp batch on
  99. smtp quiet on
  100.  
  101. # POP configuration
  102. popmail addserver NOSBBS.Painesville.ampr.org 1800 POP3 kf8nh kf8nh brandon
  103. # gsw doesn't acknowledge me, but doesn't forward to lsw either ???
  104. #popmail addserver GeaugaSW.ampr.org 3600 POP3 kf8nh kf8nh brandon
  105.  
  106. # CONVERS configuration
  107. #convers mycall LXCHAT
  108.  
  109. # Start the ball rolling...
  110. start ax25
  111. #start convers
  112. start discard
  113. start echo
  114. #start finger
  115. #start forward
  116. start ftp
  117. #start netrom
  118. #start remote
  119. #start rip
  120. start smtp
  121. start telnet
  122. start ttylink
  123.  
  124. # BBS configuration
  125. mbox jumpstart on
  126. mbox newmail on
  127. mbox attend on
  128. mbox maxmsg 600
  129. #mbox haddress "KF8NH.#NEOH.OH.USA.NA"
  130. #mbox fwdinfo "JNOS/Linux"
  131. #mbox qth "Mentor, OH
  132. #mbox zip "44060"
  133. #mbox smtptoo off
  134. #mbox timer 900
  135.  
  136. # BBS "Mail for:" beacon; exclude localhost, system mailboxes, and BBSes
  137. #mbox mailfor exclude kf8nh
  138. #mbox mailfor exclude sysop
  139. #mbox mailfor exclude check
  140. # take list of BBSes from another file for easy maintenance
  141. #source mailfor.nos
  142. # Set the timer afterwards; it causes an immediate broadcast
  143. #mbox mailfor 900
  144.  
  145. # BBS bulletin configuration
  146. #bulletin check on
  147. #bulletin date on
  148. #bulletin return on
  149.  
  150. # BBS expire configuration
  151. oldbid 24
  152. expire 24
  153.  
  154. # AT configuration
  155. at now+0010 "source bc.nos+"
  156. at 0000 "ax25 flush+"
  157.  
  158. # Route configuration
  159. #source route.nos
  160. # Route to the Linux host
  161. route addprivate linux.kf8nh.ampr.org linux
  162.  
  163. # Routes to switches
  164. route addprivate NOSBBS.Painesville.ampr.org 144.99
  165. # route addprivate GeaugaSW.ampr.org 144.99
  166.  
  167. # Special routes for stations on the user port - detached...
  168. #route addprivate n8xub.ampr.org 145.05
  169. #route addprivate n8qxb.ampr.org 145.05
  170. #route addprivate n8hsp.ampr.org 145.05
  171.  
  172. # Routes for user port gateway
  173. #route addprivate slip.n8xub.ampr.org 145.05 n8xub.ampr.org
  174.  
  175. # And finally, the default route
  176. route addprivate default 144.99 NOSBBS.Painesville.ampr.org
  177.  
  178. #source arp.nos
  179. # N8HSP sometimes requests NET/ROM routing
  180. #arp add n8hsp.ampr.org netrom 46040A 145.05
  181.  
  182. # So the radio channels can find the Linux node
  183. arp publish linux.kf8nh.ampr.org ax25 KF8NH-4 144.99
  184. #arp publish linux.kf8nh.ampr.org ax25 KF8NH-4 145.05
  185.  
  186. # G1EMM recommends kicking the network to force "hung" connections to be
  187. # reset.  I don't do this because some GRI variants appear to respond by
  188. # broadcasting everything (ID, NET/ROM node lists, etc.) and we have such
  189. # hosts on the local net.
  190. #remote 44.70.4.255 kick
  191.  
  192. # That's it!
  193.